/*
 * @Author: liuzehai
 * @Date: 2021-05-11 10:28:41
 * @LastEditTime: 2021-05-11 16:18:30
 * @LastEditors: liuzehai
 * @FilePath: /Card-to-payh5/src/api/article.js
 * @Description: 由liuzehai创建！
 */

import request from '@/plugins/axios';

// APP 图片直播分页查询
export const findPictureLiveBySize = (params) => request({
  url: 'party/pageInterface/findByIsNews',
  params,
});

// APP二期 通知通告 分页查询
export const findAnnouncementList = (params) => request({
  url: 'party/pageInterface/findAnnouncement',
  params,
});

// 分页根据类型查询新闻
export const queryNewsAllByType = (params) => request({
  url: 'party/pageInterface/findAllByType',
  params,
});

// 分页根据类型查询新闻
export const queryNewsOfAllExperience = (data) => request({
  url: 'party/pageInterface/findAllExperience',
  method: 'POST',
  data,
});

// APP 图片直播分页查询
export const queryPictureLiveList = (params) => request({
  url: 'party/pageInterface/findByNews',
  params,
});
// 平台忽略鉴权获取卡信息
export const queryCardInfo = (params) => request({
  url: 'card/card/cardInfo',
  params,
});
// H5支付
export const getwxcardPay = (data) => request({
  url: 'card/wx/h5',
  method: 'POST',
  data,
});